import { get, post, put, del, streamGet } from '@/utils/request'

export const precreate = async () => {
    try {
        const response = await streamGet<any>('/alipay/trade-precreate');
        return response;
    } catch (error) {
    }
};

export const latestTradeStatusGet = async () => {
    try {
        const response = await get<any>('/alipay/latest-trade-status-get');
        return response;
    } catch (error) {
    }
};